package com.hs.sfzy.mapper;

import com.hs.sfzy.entity.PsychKnow;
import com.hs.sfzy.entity.PsychReply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PsychReplyMapper {
    List<PsychReply> getAll();
    List<PsychReply>getTow();

    void deleteByPsychId(@Param("psychId") int psychId);
    //根据问题id查询所有回复
    List<PsychReply> getReplyByPsychId(Integer id);
    //增加回复
    int addReply(PsychReply psychReply);
}
